package com.daxia.ogmall.dto;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import org.apache.commons.lang3.builder.ToStringBuilder;

public class DbTable implements Serializable {
    /**
     * 
     */
    private static final long serialVersionUID = 1L;
    private String name;
    private List<TableColumn> columns = new ArrayList<TableColumn>();
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public List<TableColumn> getColumns() {
        return columns;
    }
    public void setColumns(List<TableColumn> columns) {
        this.columns = columns;
    }
    
    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }
    
    
}
